package com.eml.service.service;

import com.eml.service.entity.Merchant;

public interface MerchantService {
    //商家登录
    Merchant merchantLogin(String merchant_accontname,String merchant_password) throws Exception;
    //商家注册
    Merchant merchantsRegister(Merchant merchant) throws Exception;
    //修改密码
    void updateMerchantsPassword()throws Exception;
    //查询商家信息
    void selectMerchantInfo() throws Exception;
    //修改商家信息
    void updateMerchantsBasicInformation()throws Exception;

    //发起接单申请
    void initiateTakeOrdersRequest()throws Exception;
    //填写接单信息
    void writeTakeOrdersInfo()throws Exception;
    //提交接单申请
    void commitTakeOrdersRequest()throws Exception;
    //收到订单
    void receivedOrder()throws Exception;
    //核对订单基本信息
    void checkOrderBasicInfo()throws Exception;

    //开始备餐
    void prepareProducts()throws Exception;
    //发送配送申请
    void sendDeliveryRequest()throws Exception;
    //提交配送申请
    void commitDeliveryRequest()throws Exception;


}
